home *** CD-ROM | disk | FTP | other *** search
- function CHumpExplosion()
- {
- this._parent._nActiveHumpExplosions = this._parent._nActiveHumpExplosions + 1;
- this._color = new Color(this);
- this._color.setRGB(this._hue);
- if(Math.random() < 0.3)
- {
- this.gotoAndPlay("collapse");
- }
- }
- CHumpExplosion.prototype = new MovieClip();
- Object.registerClass("CHumpExplosion",CHumpExplosion);
-